import Common from './common.js';
import LocalStorage from './LocalStorage.js';
// let LocalStorage = require('./LocalStorage.js');
// let Common = require('./Common.js');

export default function (Vue) {
    if (!Vue.$utils) {
        Vue.$utils = {Common, LocalStorage};
    } else {
        Vue.$utils.Common = {Common, LocalStorage};
        Vue.$utils.LocalStorage = {Common, LocalStorage};
    };
    Vue.mixin({
        created () {
            this.$utils = {Common, LocalStorage};
        }
    });
}
